a667b5b454076abe31c53fa8800b49dd82a3a682,ecj/ec/simple/SimpleStatistics.java,SimpleStatistics,postEvaluationStatistics,#EvolutionState#,128

Before Change


            for(int y=1;y<state.population.subpops[x].individuals.length;y++)
            	{
            	if (state.population.subpops[x].individuals[y] == null)
            		state.output.warnOnce("Null individuals found in subpopulation");
	            else if (best_i[x] == null || state.population.subpops[x].individuals[y].fitness.betterThan(best_i[x].fitness))
                    best_i[x] = state.population.subpops[x].individuals[y];
	            if (best_i[x] == null)

After Change


            	{
            	if (state.population.subpops[x].individuals[y] == null)
            		{
            		if (!warned)
            			{
            			state.output.warnOnce("Null individuals found in subpopulation");
            			warned = true;  // we do this rather than relying on warnOnce because it is much faster in a tight loop
            			}
            		}